package com.ruoyi.project.data.domain;

import com.ruoyi.project.system.domain.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 称重记录对象 weight_record
 *
 * @author ruoyi
 * @date 2020-03-21
 */
public class WeightRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 场站名称 */
    @Excel(name = "场站名称")
    private String stationName;

    /** 场站id */
    private Long stationId;

    /** 车牌号码 */
    @Excel(name = "车牌号码")
    private String plantNo;

    /** 车牌颜色 */
    @Excel(name = "车牌颜色")
    private String plantColor;

    /** 挂车车牌 */
    @Excel(name = "挂车号码")
    private String plantNoGua;

    /** 称重时间 */
    @Excel(name = "称重时间", width = 30)
    private String weightTime;

    /** 总重(单位kg) */
    @Excel(name = "称重总重(单位kg)")
    private Double grossWeight;

    // 核定总重(单位kg)
 //   @Excel(name = "核定总重(单位kg)")
    private Double CoTotalMass;
    // 车轴数
//    @Excel(name = "车轴数")
    private Integer CoAxleNumber;

    /** 是否超重（0-否;1-是） */
    @Excel(name = "是否超重", readConverterExp = "0=-否;1-是")
    private Integer isOverWeight;

    /** 操作人姓名 */
    @Excel(name = "操作人")
    private String operatorName;

    /** 场站编号 */
    private String stationCode;

    /** 称重设备编号 */
    private String deviceCode;

    /** 称重业务内部流水号 */
    private String serialNumber;

    /** 运单编号 */
    private String goodsCode;

    /** 空重(单位kg) */
    private Double emptyWeight;

    /** 净重(单位kg) */
    private Double netWeight;

    /** 车辆侧前方图片 */
    private String zPlatePhoto;

    /** 车辆侧后方图片 */
    private String rearSidePhoto;

    /** 识别侧前方车牌 */
    private  String disBefPlanno;

    /** 识别侧后方车牌 */
    private  String  disAfPlanno;

    /** 删除标志位 */
    private String delFlag;

    private SysDept sysDept;

    /** 所属区域**/
    private  String  areaCode;
    // 下载标签
    private String downLabel;
    // 视频下载状态（1-待下载;2-已下载;3-下载失败）
    private String isDown;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStationCode(String stationCode)
    {
        this.stationCode = stationCode;
    }

    public String getStationCode()
    {
        return stationCode;
    }
    public void setDeviceCode(String deviceCode)
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode()
    {
        return deviceCode;
    }
    public void setSerialNumber(String serialNumber)
    {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber()
    {
        return serialNumber;
    }
    public void setGoodsCode(String goodsCode)
    {
        this.goodsCode = goodsCode;
    }

    public String getGoodsCode()
    {
        return goodsCode;
    }
    public void setStationName(String stationName)
    {
        this.stationName = stationName;
    }

    public String getStationName()
    {
        return stationName;
    }
    public void setWeightTime(String weightTime)
    {
        this.weightTime = weightTime;
    }

    public String getWeightTime()
    {
        return weightTime;
    }
    public void setOperatorName(String operatorName)
    {
        this.operatorName = operatorName;
    }

    public String getOperatorName()
    {
        return operatorName;
    }
    public void setPlantNo(String plantNo)
    {
        this.plantNo = plantNo;
    }

    public String getPlantNo()
    {
        return plantNo;
    }
    public void setPlantColor(String plantColor)
    {
        this.plantColor = plantColor;
    }

    public String getPlantColor()
    {
        return plantColor;
    }
    public void setGrossWeight(Double grossWeight)
    {
        this.grossWeight = grossWeight;
    }

    public Double getGrossWeight()
    {
        return grossWeight;
    }
    public void setEmptyWeight(Double emptyWeight)
    {
        this.emptyWeight = emptyWeight;
    }

    public Double getEmptyWeight()
    {
        return emptyWeight;
    }
    public void setNetWeight(Double netWeight)
    {
        this.netWeight = netWeight;
    }

    public Double getNetWeight()
    {
        return netWeight;
    }
    public void setIsOverWeight(Integer isOverWeight)
    {
        this.isOverWeight = isOverWeight;
    }

    public Integer getIsOverWeight()
    {
        return isOverWeight;
    }
    public void setPlantNoGua(String plantNoGua)
    {
        this.plantNoGua = plantNoGua;
    }

    public String getPlantNoGua()
    {
        return plantNoGua;
    }
    public void setzPlatePhoto(String zPlatePhoto)
    {
        this.zPlatePhoto = zPlatePhoto;
    }

    public String getzPlatePhoto()
    {
        return zPlatePhoto;
    }
    public void setRearSidePhoto(String rearSidePhoto)
    {
        this.rearSidePhoto = rearSidePhoto;
    }

    public String getRearSidePhoto()
    {
        return rearSidePhoto;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public Double getCoTotalMass() {
        return CoTotalMass;
    }

    public void setCoTotalMass(Double coTotalMass) {
        CoTotalMass = coTotalMass;
    }

    public Integer getCoAxleNumber() {
        return CoAxleNumber;
    }

    public void setCoAxleNumber(Integer coAxleNumber) {
        CoAxleNumber = coAxleNumber;
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public String getDisBefPlanno() {
        return disBefPlanno;
    }

    public void setDisBefPlanno(String disBefPlanno) {
        this.disBefPlanno = disBefPlanno;
    }

    public String getDisAfPlanno() {
        return disAfPlanno;
    }

    public void setDisAfPlanno(String disAfPlanno) {
        this.disAfPlanno = disAfPlanno;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getDownLabel() {
        return downLabel;
    }

    public void setDownLabel(String downLabel) {
        this.downLabel = downLabel;
    }

    public String getIsDown() {
        return isDown;
    }

    public void setIsDown(String isDown) {
        this.isDown = isDown;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stationCode", getStationCode())
            .append("deviceCode", getDeviceCode())
            .append("serialNumber", getSerialNumber())
            .append("goodsCode", getGoodsCode())
            .append("stationName", getStationName())
            .append("weightTime", getWeightTime())
            .append("operatorName", getOperatorName())
            .append("plantNo", getPlantNo())
            .append("plantColor", getPlantColor())
            .append("grossWeight", getGrossWeight())
            .append("emptyWeight", getEmptyWeight())
            .append("netWeight", getNetWeight())
            .append("isOverWeight", getIsOverWeight())
            .append("plantNoGua", getPlantNoGua())
            .append("zPlatePhoto", getzPlatePhoto())
            .append("rearSidePhoto", getRearSidePhoto())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
